package SEDay04;

public class Subject2 {
    public static void main(String arg[]) {
        for (int year = 1988; year <= 2023; year++) {
            if ((year % 4 == 0 && year % 100 != 0) || year % 400 == 0) {
                System.out.println(year + "是闰年");
            }
        }
    }
}
